package com.hhm.huo.entity;

import lombok.Data;

/**
 * 返回结果
 */
@Data
public class Result {
    Integer code;
    String info;
    Object data;

    public Result(Integer code, String info, Object data) {
        this.code = code;
        this.info = info;
        this.data = data;
    }

    public Result(Object data) {
        this.data = data;
    }

    public Result(Integer code, String info) {
        this.code = code;
        this.info = info;
    }
}
